pics added in readme
[Cyberpunk Pendant] / README.md
1 #Flashing Pendant. Mysterious cyberpunk electronic jewelry for boys and girls of all ages.
2
3 ![Blinking Pendant](https://shalnoff.com/pics/2023/Pendant/cell_pendant_red.jpeg)
4 ![Blinking Pendant](https://shalnoff.com/pics/2023/Pendant/cell_pendant_blue.jpeg)  
5
6 The device based on Attiny10 and implements a simple algorithm of 1-dimensional cellular automaton. It has two modes of operation:
7
8 1. Rule 22: When a threshold sequence is found, the device signals by light. When the value is exceeded -- by light and beeping.
9 2. Rule 30. Gives shorter sequences and signals after passing the entire length of the array. This mode gives the opportunity to "play" with the image on long shutter speed. For example, if you synchronize the rotation of the device (on a string) with beeping and move in space, you can get interesting images of in time evolution.
10
11 ![Pendant Pattern](https://shalnoff.com/pics/2023/Pendant/cell_pendant_pattern.jpeg)  
12
13 Modes are selecting by pressing the Reset button (selection is random, entropy is "caught" from electromagnetic interference :)
14
15 Try it, it's fun :)  
16
17 ## Wiring 
18
19 ATTINY pinout 
20
21         (PCINT0/TPIDATA/OC0A/ADC0/AIN0) PB0             1       6  PB3 (RESET/PCINT3/ADC3)
22         GND                                             2       5  VCC
23         (PCINT1/TPICLK/CLKI/ICP0/OC0B/ADC1/AIN1) PB1    3       4  PB2 (T0/CLKO/PCINT2/INT0/ADC2)
24
25
26 FTDI bitbang (ASP num _ ASP name (t10 name __ t10 num __ FTDI name))
27
28         1 miso  (TPIDATA 1 CTS)         2 vcc   (Vcc 5 Vcc)
29         3 sck   (TPICLK  3 DTR)         4 mosi  
30         5 reset (reset   6 RTS)         6 gnd   (gnd 2 gnd)
31
32 on IC (how to connet FTDI)
33
34         CTS     RTS
35         gnd     Vcc
36         DTR     ---
37
38 ## Compile and flash
39
40     ./make
41     ./flash
42
43 ![Flashing Pendant](https://shalnoff.com/pics/2023/Pendant/cell_pendant_flashing.gif)  
44
45 ## Charging 
46
47 LIR1620 lithium rechargeable battery is used for power supply.
48 A battery charger is included.
49
50 ![LIR1620 Charger](https://shalnoff.com/pics/2023/Pendant/pendant_pcb.jpeg)
51 ![LIR1620 Charger](https://shalnoff.com/pics/2023/Pendant/charger_pcb.jpeg)  
52
53 ## License
54
55 Copyright © 2022 Dmitry Shalnov [interplaymedium.org]
56
57 Licensed under the Apache License, Version 2.0 (the "License");
58 you may not use this files except in compliance with the License.
59 You may obtain a copy of the License at
60
61     http://www.apache.org/licenses/LICENSE-2.0
62
63 Unless required by applicable law or agreed to in writing, software
64 distributed under the License is distributed on an "AS IS" BASIS,
65 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
66 See the License for the specific language governing permissions and
67 limitations under the License.
68
69
70
71
Contact me: dev (at) shalnoff (dot) com
PGP fingerprint: A6B8 3B23 6013 F18A 0C71 198B 83D8 C64D 917A 5717